<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="head.jsp"%>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户修改页面</span>
        </div>
        <div class="providerAdd">
        <form id="userForm" name="userForm" method="post" action="upduser1">
            <div>
                <label for="userCode">用户编码：</label>
                <input type="text" name="account" id="userCode" value="${account}">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>
			 <div>
                    <label for="userName">用户名称：</label>
                    <input type="text" name="realName" id="userName">
					<font color="red"></font>
             </div>
			 <div>
                    <label >用户性别：</label>
                    <select id="gender" name="sex">
						<c:choose>
							<c:when test="${user.sex == 0}">
								<option value="0" selected="selected">男</option>
					    		<option value="1">女</option>
							</c:when>
							<c:otherwise>
								<option value="0">男</option>
					    		<option value="1" selected="selected">女</option>
							</c:otherwise>
						</c:choose>
					 </select>
             </div>
			 <div>
                    <label for="birthday">出生日期：</label>
                    <input type="text" Class="Wdate" id="birthday" name="birthday">
                    <font color="red"></font>
              </div>
			
		       <div>
                    <label for="phone">用户电话：</label>
                    <input type="text" name="phone" id="phone">

                    <font color="red"></font>
               </div>
                <div>
                    <label for="address">用户地址：</label>
                    <input type="text" name="address" id="address">
                </div>
            <div>
                <label for="address">用户角色：</label>
                <input type="text" name="roleId" id="roleId">
            </div>
			 <div class="providerAddBtn">
                    <input type="submit" name="save" id="save" value="保存" />
                    <input type="button" id="back" name="back" onclick="history.go(-1)" value="返回"/>
                </div>
            </form>
        </div>
    </div>
</section>
<%@include file="/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/usermodify.js"></script>
